chore: clean up .env.example comment formatting + empty values#2581
chore: clean up .env.example comment formatting + empty values#2581serhalp merged 2 commits intonpmx-dev:mainfrom
.env.example comment formatting + empty values#2581Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughSummary by CodeRabbit
WalkthroughUpdated Changes
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.env.example:
- Line 5: The .env.example is missing a trailing blank newline causing
dotenv-linter failure; add a single empty line at the end of the file (after the
NUXT_IMAGE_PROXY_SECRET= line) so the file ends with one final newline character
to satisfy dotenv-linter.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b9ec8bc3-c802-4ace-8ddf-5b3ddf6b3d03
📒 Files selected for processing (1)
.env.example
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ghostdevv
left a comment
There was a problem hiding this comment.
I think the quotes should stay, as they can help prevent issues with parsing!
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.env.example (1)
2-2: dotenv-linter QuoteCharacter warnings can be safely ignored.The static analysis tool flags the empty quoted strings (
""), but this is a false positive. Using""in.env.examplefiles is a common and valid pattern to show users the expected string format whilst keeping the example value empty.If you prefer to silence the linter warnings, you could remove the quotes entirely (leaving just
NUXT_SESSION_PASSWORD=), but the current format is equally valid and perhaps clearer for users.Also applies to: 5-5
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.env.example at line 2, The linter flags the empty quoted value for NUXT_SESSION_PASSWORD in .env.example; to silence warnings either remove the quotes so the line reads NUXT_SESSION_PASSWORD= or add a dotenv-linter disable/ignore directive above the line, but keep the variable name NUXT_SESSION_PASSWORD unchanged so the example still documents the expected key.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.env.example:
- Line 2: The linter flags the empty quoted value for NUXT_SESSION_PASSWORD in
.env.example; to silence warnings either remove the quotes so the line reads
NUXT_SESSION_PASSWORD= or add a dotenv-linter disable/ignore directive above the
line, but keep the variable name NUXT_SESSION_PASSWORD unchanged so the example
still documents the expected key.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b58d91c2-ad5c-4593-b106-d407d9aaaf36
📒 Files selected for processing (1)
.env.example
|
Thanks @serhalp , @ghostdevv 😊 |
I think it is looking slightly beautiful.